package com.tn.exam.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * InfoQuestion entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "info_question")
public class InfoQuestion extends BaseEntity implements java.io.Serializable {

	// Fields

	private Integer questionId;
	private Integer questionCategoryId;
	private String questionContent;
	private Integer questionEnable;
	private String questionAnswer;
	private Integer questionType;
	private String questionComment;
	private Integer questionRoleId;
	private Integer questionLevel;
	private String questionOptiona;
	private String questionOptionb;
	private String questionOptionc;
	private String questionOptiond;
	private String questionOptione;
	private String questionOptionf;
	private String questionOptiong;
	private String questionOptionh;
	private String questionOptioni;
	private String questionOptionj;
	private String questionOptionk;
	private String questionOptionl;
	private Date questionCreateTime;
	private Integer questionCreatorId;
	private Integer questionModifyUserId;
	private Date questionModifyTime;

	// Constructors

	/** default constructor */
	public InfoQuestion() {
	}

	/** minimal constructor */
	public InfoQuestion(Integer questionCategoryId, String questionContent,
			Integer questionEnable, Integer questionType,
			Integer questionRoleId, Integer questionLevel,
			Date questionCreateTime, Integer questionCreatorId) {
		this.questionCategoryId = questionCategoryId;
		this.questionContent = questionContent;
		this.questionEnable = questionEnable;
		this.questionType = questionType;
		this.questionRoleId = questionRoleId;
		this.questionLevel = questionLevel;
		this.questionCreateTime = questionCreateTime;
		this.questionCreatorId = questionCreatorId;
	}

	/** full constructor */
	public InfoQuestion(Integer questionCategoryId, String questionContent,
			Integer questionEnable, String questionAnswer,
			Integer questionType, String questionComment,
			Integer questionRoleId, Integer questionLevel,
			String questionOptiona, String questionOptionb,
			String questionOptionc, String questionOptiond,
			String questionOptione, String questionOptionf,
			String questionOptiong, String questionOptionh,
			String questionOptioni, String questionOptionj,
			String questionOptionk, String questionOptionl,
			Date questionCreateTime, Integer questionCreatorId,
			Integer questionModifyUserId, Date questionModifyTime) {
		this.questionCategoryId = questionCategoryId;
		this.questionContent = questionContent;
		this.questionEnable = questionEnable;
		this.questionAnswer = questionAnswer;
		this.questionType = questionType;
		this.questionComment = questionComment;
		this.questionRoleId = questionRoleId;
		this.questionLevel = questionLevel;
		this.questionOptiona = questionOptiona;
		this.questionOptionb = questionOptionb;
		this.questionOptionc = questionOptionc;
		this.questionOptiond = questionOptiond;
		this.questionOptione = questionOptione;
		this.questionOptionf = questionOptionf;
		this.questionOptiong = questionOptiong;
		this.questionOptionh = questionOptionh;
		this.questionOptioni = questionOptioni;
		this.questionOptionj = questionOptionj;
		this.questionOptionk = questionOptionk;
		this.questionOptionl = questionOptionl;
		this.questionCreateTime = questionCreateTime;
		this.questionCreatorId = questionCreatorId;
		this.questionModifyUserId = questionModifyUserId;
		this.questionModifyTime = questionModifyTime;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "question_id", unique = true, nullable = false)
	public Integer getQuestionId() {
		return this.questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	@Column(name = "question_category_id", nullable = false)
	public Integer getQuestionCategoryId() {
		return this.questionCategoryId;
	}

	public void setQuestionCategoryId(Integer questionCategoryId) {
		this.questionCategoryId = questionCategoryId;
	}

	@Column(name = "question_content", nullable = false, length = 1024)
	public String getQuestionContent() {
		return this.questionContent;
	}

	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}

	@Column(name = "question_enable", nullable = false)
	public Integer getQuestionEnable() {
		return this.questionEnable;
	}

	public void setQuestionEnable(Integer questionEnable) {
		this.questionEnable = questionEnable;
	}

	@Column(name = "question_answer", length = 1024)
	public String getQuestionAnswer() {
		return this.questionAnswer;
	}

	public void setQuestionAnswer(String questionAnswer) {
		this.questionAnswer = questionAnswer;
	}

	@Column(name = "question_type", nullable = false)
	public Integer getQuestionType() {
		return this.questionType;
	}

	public void setQuestionType(Integer questionType) {
		this.questionType = questionType;
	}

	@Column(name = "question_comment", length = 512)
	public String getQuestionComment() {
		return this.questionComment;
	}

	public void setQuestionComment(String questionComment) {
		this.questionComment = questionComment;
	}

	@Column(name = "question_role_id", nullable = false)
	public Integer getQuestionRoleId() {
		return this.questionRoleId;
	}

	public void setQuestionRoleId(Integer questionRoleId) {
		this.questionRoleId = questionRoleId;
	}

	@Column(name = "question_level", nullable = false)
	public Integer getQuestionLevel() {
		return this.questionLevel;
	}

	public void setQuestionLevel(Integer questionLevel) {
		this.questionLevel = questionLevel;
	}

	@Column(name = "question_optiona", length = 512)
	public String getQuestionOptiona() {
		return this.questionOptiona;
	}

	public void setQuestionOptiona(String questionOptiona) {
		this.questionOptiona = questionOptiona;
	}

	@Column(name = "question_optionb", length = 512)
	public String getQuestionOptionb() {
		return this.questionOptionb;
	}

	public void setQuestionOptionb(String questionOptionb) {
		this.questionOptionb = questionOptionb;
	}

	@Column(name = "question_optionc", length = 512)
	public String getQuestionOptionc() {
		return this.questionOptionc;
	}

	public void setQuestionOptionc(String questionOptionc) {
		this.questionOptionc = questionOptionc;
	}

	@Column(name = "question_optiond", length = 512)
	public String getQuestionOptiond() {
		return this.questionOptiond;
	}

	public void setQuestionOptiond(String questionOptiond) {
		this.questionOptiond = questionOptiond;
	}

	@Column(name = "question_optione", length = 512)
	public String getQuestionOptione() {
		return this.questionOptione;
	}

	public void setQuestionOptione(String questionOptione) {
		this.questionOptione = questionOptione;
	}

	@Column(name = "question_optionf", length = 512)
	public String getQuestionOptionf() {
		return this.questionOptionf;
	}

	public void setQuestionOptionf(String questionOptionf) {
		this.questionOptionf = questionOptionf;
	}

	@Column(name = "question_optiong", length = 512)
	public String getQuestionOptiong() {
		return this.questionOptiong;
	}

	public void setQuestionOptiong(String questionOptiong) {
		this.questionOptiong = questionOptiong;
	}

	@Column(name = "question_optionh", length = 512)
	public String getQuestionOptionh() {
		return this.questionOptionh;
	}

	public void setQuestionOptionh(String questionOptionh) {
		this.questionOptionh = questionOptionh;
	}

	@Column(name = "question_optioni", length = 512)
	public String getQuestionOptioni() {
		return this.questionOptioni;
	}

	public void setQuestionOptioni(String questionOptioni) {
		this.questionOptioni = questionOptioni;
	}

	@Column(name = "question_optionj", length = 512)
	public String getQuestionOptionj() {
		return this.questionOptionj;
	}

	public void setQuestionOptionj(String questionOptionj) {
		this.questionOptionj = questionOptionj;
	}

	@Column(name = "question_optionk", length = 512)
	public String getQuestionOptionk() {
		return this.questionOptionk;
	}

	public void setQuestionOptionk(String questionOptionk) {
		this.questionOptionk = questionOptionk;
	}

	@Column(name = "question_optionl", length = 512)
	public String getQuestionOptionl() {
		return this.questionOptionl;
	}

	public void setQuestionOptionl(String questionOptionl) {
		this.questionOptionl = questionOptionl;
	}

	@Column(name = "question_create_time", nullable = false, length = 19)
	public Date getQuestionCreateTime() {
		return this.questionCreateTime;
	}

	public void setQuestionCreateTime(Date questionCreateTime) {
		this.questionCreateTime = questionCreateTime;
	}

	@Column(name = "question_creator_id", nullable = false)
	public Integer getQuestionCreatorId() {
		return this.questionCreatorId;
	}

	public void setQuestionCreatorId(Integer questionCreatorId) {
		this.questionCreatorId = questionCreatorId;
	}

	@Column(name = "question_modify_user_id")
	public Integer getQuestionModifyUserId() {
		return this.questionModifyUserId;
	}

	public void setQuestionModifyUserId(Integer questionModifyUserId) {
		this.questionModifyUserId = questionModifyUserId;
	}

	@Column(name = "question_modify_time", length = 19)
	public Date getQuestionModifyTime() {
		return this.questionModifyTime;
	}

	public void setQuestionModifyTime(Date questionModifyTime) {
		this.questionModifyTime = questionModifyTime;
	}

}